package be.jhd.appserver.weblogic;

import weblogic.Admin;
import be.jhd.appserver.weblogic.command.WeblogicConfig;
import be.jhd.appserver.weblogic.management.command.ManagementCommand;

public class ManagementCommandSender extends AbstractCommandSender<ManagementCommand>{

	public ManagementCommandSender(WeblogicConfig config) {
		super(config);
	}

	@Override
	protected void executeCommand(ManagementCommand command) throws Exception {
		Admin admin = new Admin();
		admin.main(command.getParameters(getConfig()));
	}

}
